<!DOCTYPE html>
<html>
<head>
  <script src="lib/crafty.js"></script>
  <script src="src/game.js"></script>
  <script src="lib/jquery.js"></script>
  <script src="src/include.js"></script>
  <script src="src/components.js"></script>
  <script src="src/scenes.js"></script>
  <script type="text/javascript" src="http://www.parsecdn.com/js/parse-1.2.12.min.js"></script>
<script>
window.addEventListener('load', Game.start);
</script>
  <link href="style/style.css" rel="stylesheet" type="text/css">
  <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
  <script type="text/javascript" src="http://www.parsecdn.com/js/parse-1.2.12.min.js"></script>
  
  <script>
  //SCRIPT TO CHECK IF SIGNED IN OR NOT
	window.onload = function () {
		Parse.initialize("EL9rGBARwKQl3NL4HAQ2U4GxQYjXV8dDDvDDaTPe", "WQLflsIP1zoVHCZgNjpr95dtrmaqjCaCkWSbOSrU");

    var currentUser = Parse.User.current();
 
    if (currentUser) {

    } else {
		alert("You must log in to play");
      	window.location.href="login.html";
    }
 
}

  </script>	
	
</head>
<body>
  <div id="container">
      <div id="header">
          <h1>
               JavaScript Game - Game 
          </h1>
      </div>
      
      <div id="navigation"></div>
      <br><br>
      <div id="content-container">
	  <div id="score" class="nicebox">Score: 0</div>
	  <div id="stage" class="nicebox">Stage: 1</div>
	  <div id="stageName" class="nicebox"> Stage Name: Field</div>
	  <div id="time" class="nicebox"> Time: 20</div>
	  <div id="multiplierTime" class="hidden">2x Coins: 0</div>
	  <div id="bootsHolding" class="hidden">Holding Boots</div>
	  <div id="bootsOn" class="hidden">Boots On</div>
        
		  <div id="content">	
		    <div id="cr-stage"></div>
		  </div>
      </div>
      <div id="footer"></div>
          
      </div>
  </div>
</body>
</html>


